package model

//go:generate go run ../cmd/generate dao --table system_smtp_log_attachments

type SystemSmtpLogAttachment struct {
	Model

	SmtpLogId *string `gorm:"type:string;size:32;not null"` // 邮件日志ID
	ObjectId  *string `gorm:"type:string;size:32;not null"` // 对象ID
}

func (cls *SystemSmtpLogAttachment) TableName() string {
	return "system_smtp_log_attachments"
}
